﻿using System;
using System.Collections.Generic;
using System.Text;
using Basic.Model.Entity;
using NHibernate;

namespace Basic.Model.EntityManager
{
    public class CollisionManager
    {
        public static void AddItem(ISession session, Collision c)
        {
            session.Save(c);
            session.Flush();
        }

        public static void DeleteItem(ISession session, Collision c)
        {
            session.Delete(c);
        }
    }
}
